<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../header.jsp" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>授权缴费扣款状态查询</title>
<script src="${ctx}/js/jquery.min.js"></script>
<script type="text/javascript">
function valid(suform){
	var billNo= suform.billNo.value;
	if (null == billNo || "" == billNo) {
		alert("请输入账单编号！");
		return false;
	}
	var merchantId= suform.merchantId.value;
	if (null == merchantId || "" == merchantId) {
		alert("请输入商户编号");
		return false;
	}
	var traceNo= suform.traceNo.value;
	if (null == traceNo || "" == traceNo) {
		alert("扣款流水号");
		return false;
	}
}
</script>
</head>
<body>
	<br><br><br><br><br><br>
	<center>
		<h2>授权缴费扣款状态查询接口</h2>
		<h3>接口:${bridge }/jf-openapiweb/bridgeContract/contract</h3>
		<h3>交易码:AgentPayQuery</h3><br>
		<form id="suform" onsubmit="return valid(this);" action='agentPayQuery.do'  method="post" >
			<input type="hidden" name="trVersion" value="${param.trVersion }">
			<table>
				<tr>
					<td>账单编号(billNo)：</td>
					<td><input type="text" name="billNo"/><font color="red">*必输</font></td>
				</tr>				
				<tr>
					<td>商户编号(merchantId)：</td>
					<td><input type="text" name="merchantId"/><font color="red">*必输</font></td>
				</tr>
				<tr>
					<td>扣款流水号(traceNo)：</td>
					<td><input type="text" name="traceNo"/><font color="red">*必输</font></td>
				</tr>																		
			</table>
			<input type="submit" value="提交"/> 
		</form>
	</center>
</body>
</html>